[LINUX] Define dma_get_cache_alignment even on x86/64.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 10 Jul 2006 16:33:45 +0000 (17:33 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Mon, 10 Jul 2006 16:33:45 +0000 (17:33 +0100)
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/dma-mapping.h

index bd43e8fc5225dd51ef1a12d42297a694047908bd..17ef0c2afdecf1aa065e5bcbc78ee206ea9d7740 100644 (file)
@@ -120,7 +120,6 @@ dma_set_mask(struct device *dev, u64 mask)
        return 0;
 }
 
-#ifdef __i386__
 static inline int
 dma_get_cache_alignment(void)
 {
@@ -128,7 +127,6 @@ dma_get_cache_alignment(void)
         * maximum possible, to be safe */
        return (1 << INTERNODE_CACHE_SHIFT);
 }
-#endif
 
 #define dma_is_consistent(d)   (1)